<template>
	<view class="">
			<image mode="" class="item-one" :src="cook.imgurl"></image>
			<view class="">
				{{cook.title}}{{cook.value}}
			</view>
			 <uni-rate v-model="cook.value" @change='onChange'/></uni-rate>
			 <pre></pre>
	</view>	
</template>

<script>
	export default {
		props:{
			cook:{
				type:Object,
				default:"缺少参数"
			}
		}
	}
</script>

<style>
	.item-one{
		width: 101px;
		margin: 0 10px;
		height: 100px;
		border-radius: 80px;
	}
	.item-two{
		margin-left: 0px;
		width: 130px;
		height: 100px;
	}
</style>
